package org.ptkparty.client.request;

import java.util.List;

import org.ptkparty.client.model.ScaleProxy;
import org.ptkparty.shared.model.ScaleEntity;

import com.google.web.bindery.requestfactory.shared.InstanceRequest;
import com.google.web.bindery.requestfactory.shared.Request;
import com.google.web.bindery.requestfactory.shared.RequestContext;
import com.google.web.bindery.requestfactory.shared.Service;

@Service(ScaleEntity.class)
public interface ScaleRequest extends RequestContext {

	Request<List<ScaleProxy>> getAllScale();

	Request<Void> save(List<ScaleProxy> scales);

	InstanceRequest<ScaleProxy, Void> persist();

	InstanceRequest<ScaleProxy, Void> remove();

}
